﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using MrBrooks.Utility;

namespace MrBrooks.Demo
{
    public partial class frmMain : Form
    {
        public frmMain()
        {
            InitializeComponent();
        }

        private MessageShower ms;

        private void btnTest_Click(object sender, EventArgs e)
        {
            ms.Show("Test");
            for (int i = 0; i < 50; i++)
            {
                ms.Show("Test  " + Utility.Transfer.RandomKey(18));
            }
        }

        private void frmMain_Load(object sender, EventArgs e)
        {
            ms = new MessageShower(txtLogs);
        }
    }
}
